const express = require('express')
const productRouter = require('./product')
const userRouter = require('./user')
const shoppingRouter = require('./shopping')
const orderRouter = require('./order')
const app = express()
app.listen(3000)

app.use('/user',userRouter)
app.use('/rg',productRouter)
app.use('/shop',shoppingRouter)
app.use("/odr",orderRouter)

// 使用中间件将post传参转为对象













